Finding the unloaded geometry

Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2024-06-27 20:56:29,956 [621] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2024-06-27 20:56:30,086 [621] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2024-06-27 20:56:30,091 [621] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-06-27 20:56:30,091 [621] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2024-06-27 20:56:30,092 [621] INFO     pulse.unloader: ------------------------------------------------------------------------
2024-06-27 20:56:30,122 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:30,123 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:30,123 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:30,124 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:30,296 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2024-06-27 20:56:31,107 [621] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2024-06-27 20:56:31,124 [621] INFO     pulse.unloader: 
Do an intial solve
2024-06-27 20:56:31,210 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:31,211 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:31,212 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:31,212 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:31,213 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:56:31,718 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-06-27 20:56:31,793 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-06-27 20:56:31,999 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-06-27 20:57:10,722 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:10,723 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:10,724 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:10,724 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:10,725 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:10,903 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-06-27 20:57:10,978 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-27 20:57:11,166 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-27 20:57:14,616 [621] INFO     pulse.unloader: 
Iteration: 0
2024-06-27 20:57:18,182 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-27 20:57:18,224 [621] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-27 20:57:22,414 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:57:22,418 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-27 20:57:22,462 [621] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2024-06-27 20:57:22,859 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:57:22,902 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:57:22,904 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:57:22,945 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:57:22,946 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:57:22,983 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2024-06-27 20:57:23,136 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:23,136 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:23,137 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:23,137 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:23,138 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:57:23,431 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2024-06-27 20:57:23,505 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
2024-06-27 20:57:23,712 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2024-06-27 20:58:02,234 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:58:02,235 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:58:02,235 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:58:02,236 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:58:02,236 [621] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2024-06-27 20:58:02,374 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2024-06-27 20:58:02,449 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-27 20:58:02,640 [621] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2024-06-27 20:58:06,070 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2024-06-27 20:58:06,243 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,244 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,286 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,287 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,329 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,329 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,367 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2024-06-27 20:58:06,378 [621] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2024-06-27 20:58:06,379 [621] INFO     pulse.unloader: 
Iteration: 1
2024-06-27 20:58:06,552 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,553 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,595 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,596 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,640 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,642 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:06,679 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2024-06-27 20:58:09,692 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2024-06-27 20:58:09,866 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:09,867 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:09,909 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:09,911 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:09,953 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:09,954 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:09,993 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2024-06-27 20:58:10,005 [621] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2024-06-27 20:58:10,005 [621] INFO     pulse.unloader: 
Iteration: 2
2024-06-27 20:58:10,179 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:10,180 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:10,222 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:10,223 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:10,266 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:10,267 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:10,305 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2024-06-27 20:58:13,314 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2024-06-27 20:58:13,487 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,488 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,531 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,532 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,574 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,575 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,613 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2024-06-27 20:58:13,626 [621] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2024-06-27 20:58:13,626 [621] INFO     pulse.unloader: 
Iteration: 3
2024-06-27 20:58:13,800 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,801 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,842 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,843 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,884 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,885 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:13,922 [621] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2024-06-27 20:58:16,920 [621] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2024-06-27 20:58:17,092 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,093 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,135 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,136 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,177 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,178 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,216 [621] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2024-06-27 20:58:17,227 [621] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2024-06-27 20:58:17,228 [621] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2024-06-27 20:58:17,405 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,406 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,448 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,449 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,490 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2024-06-27 20:58:17,491 [621] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()